package org.tis.tools.senior.module.developer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.tis.tools.core.web.controller.BaseController;
import org.tis.tools.model.common.ResultVO;
import org.tis.tools.senior.module.developer.entity.SSvnAccount;
import org.tis.tools.senior.module.developer.service.ISSvnAccountService;

/**
 * sSvnAccount的Controller类
 * 
 * @author Auto Generate Tools
 * @date 2018/06/20
 */
@RestController
@RequestMapping("/sSvnAccount")
public class SSvnAccountController extends BaseController<SSvnAccount>  {

    @Autowired
    private ISSvnAccountService sSvnAccountService;

    /**
     * 查询所有用户不分页
     * @return
     */
    @PostMapping("/all")
    public ResultVO all() {
        return  ResultVO.success("查询成功", sSvnAccountService.selectList(null));
    }
    
}

